﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeBehind="wfStock.aspx.cs" Inherits="ownx.wfStock" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
    <head id="Head1" runat="server">
        <title>Törzsadatok</title>
        <link href="ownx.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="js_scripts.js"></script>
    </head>
    <body style="background-image:url(./images/bg.png); color:White; font-weight:bold;">
        <form id="form1" runat="server">
            <asp:Button ID="FalseButton" runat="server" style="height: 0px; width: 0px; background-color:#111111; border-width:0px;" Enabled="false"/>  
            <div style="width:100%; height:0px; position:absolute; left:0px; top:50%;" id="v_center">
                <div style="width:100%; height:600px; position:absolute; top:-300px; text-align:center; background-image:url(./images/alpha_bg.png); background-repeat:no-repeat; background-position:right;" id="dark">
                    <div style="width:950px; height:600px; position:relative; margin:0px auto 0px auto;">
                        <div style="width:170px; height: 600px; float:right; line-height:5px;" id="buttons"> 
                            <asp:Button ID="btUj" runat="server" 
                                style="margin-top:5px;" CssClass="button" 
                                Text="Új" onclick="bUj_Click" />   
                            <br /><br />
                            <asp:Button ID="btOk" runat="server" 
                                style="" CssClass="button" 
                                Text="Mentés" onclick="bSave_Click" />        
                            <br /><br />
                            <asp:Button ID="btDelete" runat="server" 
                                style="" CssClass="button" 
                                Text="Törlés" onclick="bDelete_Click" />   
                            <br /><br />
                            <asp:Button ID="btCancel" runat="server" 
                                style="" CssClass="button" 
                                Text="Mégsem" onclick="btCancel_Click" /> 
                            <br /><br />
                            <asp:Button ID="btVissza" runat="server" 
                                style="" CssClass="button" 
                                Text="Vissza" onclick="btVissza_Click" />  
                            <br /><br />  
                            <div style="height: 300px; overflow:auto; margin-top:50px;">                            
                                <asp:Panel ID="pTables" runat="server" />                          
                            </div>
                        </div>
                        <div style="width:780px; height: 520px; float:left; text-align:left;" id="main1">
                            <asp:Label ID="lCaption" runat="server" Text="Label" Font-Bold="True" 
                                Font-Size="X-Large"></asp:Label>
                            <div style="text-align:center;">
                                <div style=" height: 250px; width:767px; overflow:auto; margin: 5px auto 0px auto;">                                             
                                    <asp:GridView ID="gvStock" runat="server" 
                                        style="width:750px; border-color:#dac6a6; text-align:center; overflow:auto;" 
                                        AutoGenerateColumns="False" CellPadding="4"
                                BorderStyle="None" CaptionAlign="Top" MouseOverColor="Black" GridLines="None"
                                PageSize="11"
                                        onpageindexchanging="gvStock_PageIndexChanging" 
                                        onpageindexchanged="gvStock_PageIndexChanged" 
                                        onselectedindexchanged="gvStock_SelectedIndexChanged" 
                                        onrowdatabound="gvStock_RowDataBound">
                                        <PagerSettings Mode="NumericFirstLast" PageButtonCount="15" />
                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <RowStyle VerticalAlign="Top" BorderWidth="0px" Wrap="True" />
                                        <Columns>            
                                           <asp:TemplateField Visible="true">  
                                                <ItemTemplate>  
                                                    <asp:RadioButton ID="RowSelector" runat="server" GroupName="G" OnCheckedChanged="rbStockCheckedChanged" AutoPostBack="true"/>  
                                                </ItemTemplate>  
                                            </asp:TemplateField>
                                        </Columns>
                                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#333333" />
                                        <HeaderStyle BackColor="Black" Font-Bold="True"  
                                            Height="30px" CssClass="header"  />
                                        <EditRowStyle BackColor="#999999" />
                                        
                                    </asp:GridView> 
                                </div>
                            </div>
                            <br />
                            <asp:Label ID="lMessage" runat="server"
                            style="" Font-Names="Arial" 
                                ForeColor="#990000"></asp:Label>
                            <asp:Label ID="lState" runat="server" Text="lSTATE" Visible="False"></asp:Label>
                            <asp:Label ID="lBackURL" runat="server" Text="Label" Visible="False"></asp:Label>
                            <asp:TextBox ID="tbID" runat="server" Visible="False"></asp:TextBox>
                            <asp:Label ID="lUser" runat="server" Text="lUser" Visible="False"></asp:Label>                                
                            <br />
                            <asp:Panel ID="pEdits" runat="server"
                                style="">
                            </asp:Panel>
                        </div> 
                    </div>
                </div>
            </div>
        </form>
    </body>
</html>